package com.ruoyi.zsix.service;

import com.ruoyi.zsix.domain.formComponents.FormDataValue;
import com.ruoyi.zsix.domain.model.QueryParamDto;

import java.util.List;
import java.util.Map;

public interface IFormValueService {
    /**
     * 获取节点绑定的表单
     * @param paramDto
     * @return
     */
    List<Map<String, Object>> getFormData(QueryParamDto paramDto);

    /**
     * 获取到具体的表单名称和对应的json
     * @param formTable
     * @param paramDto
     * @return
     */
    List<Map<String, Object>> selectFormData(String formTable, QueryParamDto paramDto);
    /**
     * 保存表单数据
     * @param formDataValue
     * @return
     * @throws Exception
     */
    String saveFormValueByJson(FormDataValue formDataValue)throws Exception;
}
